// 页签滑动效果
//获取目标
let sport_tap = document.querySelector("ul li:nth-child(1)");
let fun_tap = document.querySelector("li:nth-child(2)");
let sport = document.querySelector(".sport");
let fun = document.querySelector(".fun");
sport_tap.onmouseover = function (event) {
    // console.log(sport)
    fun.style.display = "none";
    sport.style.display = "block";
};
fun_tap.onmouseover = function (event) {
    fun.style.display = "block";
    // 不能直接.display设置
    // sport.display = "none";
    sport.style.display = "none";
}